package com.limboline.bssystem.mapper;

import com.limboline.bssystem.entity.CustomerEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CustomerEntity record);

    int insertSelective(CustomerEntity record);

    CustomerEntity selectByPrimaryKey(Integer id);

    CustomerEntity selectByCid(Integer cid);

    List<CustomerEntity> findAll();

    List<CustomerEntity> selectByState(Integer state);

    int updateByPrimaryKeySelective(CustomerEntity record);

    int updateByPrimaryKey(CustomerEntity record);
}